package day07_Array;
//构造
//		StringBuilder()	创建一个空白的StringBuilder对象，不含有任何内容
//		StringBuilder(String str)	根据字符串的内容，创建StringBuilder对象
public class Demo01 {
    public static void main(String[] args) {
        String a="123456";
        StringBuilder a1 = new StringBuilder();
        StringBuilder a2 = new StringBuilder(a);
        a1.reverse();
        a2.reverse();
        a2.append('c');
        System.out.println(a2);
        System.out.println(a1);
    }
}
